package com.video.service;

import com.video.utils.ResultMap;

import javax.servlet.http.HttpSession;

public interface VipServiceI {

    /**
     * 查询所有vip
     * @return
     */
    public ResultMap selectAllVip();

    /**
     * 创建vip
     * @param vipStr
     * @return
     */
    public ResultMap createVip(String vipStr);

    /**
     * 根据id修改vip信息
     * @param vipStr
     * @return
     */
    public ResultMap updateVipByVtId(String vipStr);

    /**
     * 根据id删除vip
     * @param vtId
     * @return
     */
    public ResultMap deleteVipByVtid(String vtId);

    /**
     * 充值会员
     * @param vtId
     * @param session
     * @return
     */
    public ResultMap insertMember(String vtId, HttpSession session);
}
